import java.util.List;

public class Main {
    public static void main(String[] args) {
        CareGame careGame = new CareGame();
        List<Card> ret = careGame.buyCard();//买牌
        System.out.println(ret);
        careGame.shuffle(ret);//洗牌
        System.out.println(ret);
        List<List<Card>> hand = careGame.getCard(ret);//抓牌
        for (int i = 0; i < hand.size(); i++) {
            System.out.println("第"+i+1+"个人的牌:"+" "+hand.get(i));
        }
        System.out.println("剩下的牌："+ret);
    }
}
